package BlogShowing;
public class ThreadDemo {
    public static void main(String[] args) {
        Thread t = new Thread(() -> {
            System.out.println("Hello World");
        });
        t.start();
        System.out.println(t.getName());
        System.out.println(t.getId());
    }
}
